package com.eastfair.questionnaire.service;

import com.eastfair.enums.SystemSourceEnum;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 标签和答案映射关系
 * </p>
 *
 * @author yuwx
 * @date 2021-08-18
 */
public interface RelationTagService {
    /**
    *Description 保存答案和标签关系
    *@Date 13:34 2021/8/27
    *@param projectId
    *@param answerId
    *@param tagIdList
    *@return void
    *@Author yuwx
    **/
    void saveTagAnswerRelation(Long projectId, SystemSourceEnum systemSourceEnum, Long answerId, List<Long> tagIdList);
    /**
    *Description 转换答案为tag
    *@Date 11:25 2021/8/30
    *@param projectId
    *@param answerIdList
    *@return java.util.List<java.lang.Long>
    *@Author yuwx
    **/
    List<Long> convertAnswerToTag(Long projectId, SystemSourceEnum systemSourceEnum, List<Long> answerIdList);

}
